import 'uno.css'
import './design/index.less'
import 'ant-design-vue/dist/reset.css'

import { createApp } from 'vue'
import { setupStore } from '@/store'

import App from './App.vue'
import { setupRouter } from '@/router'
import { registerGlobComp } from '@/components/registerGlobComp'

async function bootstrap() {
  const app = createApp(App)

  // Configure store
  // 配置 store
  setupStore(app)

  // Register global components
  // 注册全局组件
  registerGlobComp(app)

  // 配置路由
  setupRouter(app)

  app.mount('#app')
}
bootstrap()

